/* UnityLoader */
/* eslint-disable */
export default function loadUnityProgress(ak) {
  return new Promise(function (resolve, reject) {
      if (typeof UnityProgress !== 'undefined') {
          resolve(UnityProgress)
          return true
      }
      let script = document.createElement('script')
      script.type = 'text/javascript'
      script.src = '/ilink-fe-config/zhxf-bs/unity/TemplateData/UnityProgress.js'
      script.onerror = reject
      script.onload = resolve
      document.head.appendChild(script)
  })
}
